package com.share.device.repository;


import com.share.device.domain.StationLocation;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author HSL
 * @version 1.0
 * @data 2025/9/2 15:42
 * @desc todo
 */
@Repository
public interface StationLocationRepository extends MongoRepository<StationLocation, String> {

    StationLocation getByStationId(Long stationId);

    void deleteByStationId(Long stationId);
}
